package com.example.newproject_overseas.model.service.base

import com.example.newproject_overseas.model.Network
import com.example.newproject_overseas.model.entity.ApiaddressResponse
import retrofit2.http.Body
import retrofit2.http.POST

/**
 * 获取地址信息
 * */
interface AddressServices{
    @POST("geriatric-lwl-ferruginous/morton-propulsion-balky")
    suspend fun mortonPropulsionBalky(@Body request: Map<String, String?>): ApiaddressResponse


    companion object{
        fun instance(): AddressServices {
            return Network.createService(AddressServices::class.java)
        }
    }
}